<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>login</title>
</head>

<body>

<style>
    form {
        width: 500px;
        margin: auto;
    }
</style>

<form action="/java-web-demo1/login.jsp" method="post">
    <p>
        userName: <input type="text" name="username">
    </p>

    <p>
        password: <input type="password" name="password">
    </p>

    <p>
        <input type="submit" value="登录">
    </p>
</form>

</body>

</html>

